TS fails with the error code (0x00002651).
Has anyone seen this error code before? I'm running a TS to a Windows XP machine to upgrade to Win7 using an MDT TS created in SCCM. The TS is unmodified but I've never seen this error and also cannot find any documenation for it. What strikes me is
that all error codes I've seen begin 0x8 but this begin 0x0.
Any ideas?
November 9th, 2010 12:32pm
We need a lot more info than an isloated error code to help you. Like is this a simple deploy TS? What task was running when it threw the error? Have you examined smsts.log?Jason | http://myitforum.com/cs2/blogs/jsandys | http://blogs.catapultsystems.com/jsandys/default.aspx | Twitter @JasonSandys
Free Windows Admin Tool Kit Click here and download it now
November 9th, 2010 2:25pm
here's a patch of the smsts.log
<![LOG[]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="InstallSoftware" context="" type="1" thread="2372" file="runcommandline.cpp:34">
<![LOG[Microsoft Deployment Toolkit version: 5.1.1642.01]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="InstallSoftware" context="" type="1" thread="2372" file="runcommandline.cpp:34">
<![LOG[The task sequencer log is located at D:\WINDOWS\system32\CCM\Logs\SMSTSLog\SMSTS.LOG. For task sequence failures, please consult this log.]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="InstallSoftware" context="" type="1"
thread="2372" file="runcommandline.cpp:34">
<![LOG[Command line returned 9809]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="InstallSoftware" context="" type="1" thread="2372" file="runcommandline.cpp:565">
<![LOG[Process completed with exit code 9809]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="commandline.cpp:1102">
<![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="instruction.cxx:3010">
<![LOG[Failed to run the action: Error in the task sequence.
Unknown error (Error: 00002651; Source: Unknown)]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="TSManager" context="" type="3" thread="2836" file="instruction.cxx:3101">
<![LOG[Sending status message . . .]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="utility.cxx:292">
<![LOG[Send a task execution status message SMS_TSExecution_ActionFailError]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="utility.cxx:314">
here it is in context:
<![LOG[=======================[ smsswd.exe ] =======================]LOG]!><time="17:02:17.295+300" date="11-09-2010" component="InstallSoftware" context="" type="1" thread="2372" file="main.cpp:303">
<![LOG[PackageID = '']LOG]!><time="17:02:17.295+300" date="11-09-2010" component="InstallSoftware" context="" type="1" thread="2372" file="main.cpp:332">
<![LOG[BaseVar = '', ContinueOnError='']LOG]!><time="17:02:17.295+300" date="11-09-2010" component="InstallSoftware" context="" type="1" thread="2372" file="main.cpp:333">
<![LOG[SwdAction = '0001']LOG]!><time="17:02:17.295+300" date="11-09-2010" component="InstallSoftware" context="" type="1" thread="2372" file="main.cpp:334">
<![LOG[Set command line: Run command line]LOG]!><time="17:02:17.295+300" date="11-09-2010" component="InstallSoftware" context="" type="0" thread="2372" file="commandline.cpp:707">
<![LOG[Working dir 'not set']LOG]!><time="17:02:17.295+300" date="11-09-2010" component="InstallSoftware" context="" type="1" thread="2372" file="runcommandline.cpp:542">
<![LOG[Executing command line: Run command line]LOG]!><time="17:02:17.295+300" date="11-09-2010" component="InstallSoftware" context="" type="1" thread="2372" file="commandline.cpp:805">
<![LOG[Process completed with exit code 9809]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="InstallSoftware" context="" type="1" thread="2372" file="commandline.cpp:1102">
<![LOG[Microsoft (R) Windows Script Host Version 5.7]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="InstallSoftware" context="" type="1" thread="2372" file="runcommandline.cpp:34">
<![LOG[Copyright (C) Microsoft Corporation. All rights reserved.]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="InstallSoftware" context="" type="1" thread="2372" file="runcommandline.cpp:34">
<![LOG[]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="InstallSoftware" context="" type="1" thread="2372" file="runcommandline.cpp:34">
<![LOG[Microsoft Deployment Toolkit version: 5.1.1642.01]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="InstallSoftware" context="" type="1" thread="2372" file="runcommandline.cpp:34">
<![LOG[The task sequencer log is located at D:\WINDOWS\system32\CCM\Logs\SMSTSLog\SMSTS.LOG. For task sequence failures, please consult this log.]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="InstallSoftware" context="" type="1"
thread="2372" file="runcommandline.cpp:34">
<![LOG[Command line returned 9809]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="InstallSoftware" context="" type="1" thread="2372" file="runcommandline.cpp:565">
<![LOG[Process completed with exit code 9809]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="commandline.cpp:1102">
<![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="instruction.cxx:3010">
<![LOG[Failed to run the action: Error in the task sequence.
Unknown error (Error: 00002651; Source: Unknown)]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="TSManager" context="" type="3" thread="2836" file="instruction.cxx:3101">
<![LOG[Sending status message . . .]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="utility.cxx:292">
<![LOG[Send a task execution status message SMS_TSExecution_ActionFailError]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="utility.cxx:314">
<![LOG[MP server XXsccm.xxxx.org and port 80. SSL=false. CRL=false.]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="utility.cxx:458">
<![LOG[Site code: MSC]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="utility.cxx:489">
<![LOG[Client machine name: WIN7TESTDEPLOY]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="utility.cxx:494">
<![LOG[Client Identity: GUID:58693121-5376-4FCD-9B77-99CDD3C63AAE]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="utility.cxx:496">
<![LOG[Advertisement ID: MSC20019]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="utility.cxx:505">
<![LOG[Package ID: MSC00040]LOG]!><time="17:02:17.436+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="utility.cxx:507">
<![LOG[Sending StatusMessage]LOG]!><time="17:02:17.592+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="libsmsmessaging.cpp:3806">
<![LOG[Formatted header:]LOG]!><time="17:02:17.592+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="libsmsmessaging.cpp:1500">
<![LOG[<Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:58693121-5376-4FCD-9B77-99CDD3C63AAE</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2010-11-09T22:02:17Z</SentTime><Protocol>http</Protocol><Body
Type="ByteRange" Offset="0" Length="3472"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
]LOG]!><time="17:02:17.592+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="libsmsmessaging.cpp:1501">
<![LOG[CLibSMSMessageWinHttpTransport::Send: URL: XXsccm.xxxx.org:80 CCM_POST /ccm_system/request]LOG]!><time="17:02:17.592+300" date="11-09-2010" component="TSManager" context="" type="1" thread="2836" file="libsmsmessaging.cpp:7446">
<![LOG[The request has succeeded. 200 OK]LOG]!><time="17:02:17.655+300" date="11-09-2010" component="TSManager" context="" type="0" thread="2836" file="libsmsmessaging.cpp:7734">
This is happening immediately following Use Toolkit Package in the Initialization group and is either in Check Pre-reqs (cscript.exe "%deployroot%\scripts\ztiprereq.vbs") or Gather phase.
November 9th, 2010 6:05pm
Whatever you are running using a run command-line task is what is returning the error code. This is not a standard Windows error code is being generated by the executable or script or whatever you are running in that task.Jason | http://myitforum.com/cs2/blogs/jsandys | http://blogs.catapultsystems.com/jsandys/default.aspx | Twitter @JasonSandys
Free Windows Admin Tool Kit Click here and download it now
November 9th, 2010 8:27pm
Here are the actions/command lines that run in the TS up until the error (taken from an export of the TS):
<action>tsenv.exe "OSDDiskpartBiosCompatibilityMode=TRUE"</action>
<action>osddiskpart.exe</action>
<action>smsswd.exe /run:MSC00036 cscript.exe Scripts\ZTISCCM.wsf</action>
<action>smsswd.exe /run: cscript.exe "%deployroot%\scripts\ztiprereq.vbs"</action>
<action>smsswd.exe /run:MSC0003F cscript.exe "%DeployRoot%\Scripts\ZTIGather.wsf"</action>
At this point in the TS, it's completely unmodifed from the default "Client Task Sequence" option in "Create Microsoft Deployment Task Sequence" in SCCM 2007 R3. Later in the TS, it's modified with domain name to join, etc. but these early parts (and to
clarify, this is in the Initialization group containing:
"Set Diskpart BIOS Compatibility"
"Format and Partition Disk" <--^^^Both of these are excluded due to IF statements that are included by default in the TS
"Use Toolkit Package" <-- calls package MDT 2010 Files created as part of TS creation
"Check Pre-reqs" <--Runs: cscript.exe "%deployroot%\scripts\ztiprereq.vbs"
"Gather" <-- Options to gather only local data or Gather Local data and process rules: calls CustomSettings.ini in Target Custom Settings Package created during TS creation.
The CustomSettings.ini is fairly generic:
[Settings]
Priority=Default
Properties=MyCustomProperty
[Default]
OSInstall=Y
SkipAppsOnUpgrade=YES
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
AdminPassword=xxxxxxx
KeyboardLocale=en-US
UserLocale=en-US
UILanguage=en-US
TimeZoneName=Eastern Standard Time
)
So, I'm not sure what run command-line would be responsible and I acknowledge it's not a standard Windows error code but I haven't included anything else that isn't part of the default creation process.
Thanks.
November 10th, 2010 1:00am
Better late than never, but I think I found your answer/ I ran into the same error. The BDD.log shows some more detail:
FAILURE ( 9809 ): Error - Performing a Refresh to a partition that does not match the current OS partition is not supported. You must perform a NewComputer deployment, aborting
In my case a different OS driveletter was the issue.
hope this helps (after all)You know you're an engineer when you have no life and can prove it mathematically
Free Windows Admin Tool Kit Click here and download it now
January 24th, 2011 10:24am